import { ref } from 'vue'
const tableColumn = ref([
  { type: 'seq', title: '序号', width: 60 },
  { field: "id", title: "名称" },
  { field: "taskName", title: "任务名称" },
  { field: "integralType", title: "类型" },
  { field: "changeIntegral", title: "变化值"},
  { field: "integral", title: "积分" },
  { field: "createTime", title: "时间" }
])

const paginationParams = ref({
  total: 0,
  pageNum: 1,
  pageSize: 10,
})


const orderSelect = [
  {
    label: '代理商',
    model: 'agencyId',
    placeholder: '请选择',
    url: 'base/agency/list',
    type: 'select',
    selectData: []
  },
  { 
    label: '代表',
    model: 'mrId',
    placeholder: '请选择',
    type: 'select',
    url: '/base/medicalRepresentative/list',
    selectData: [],
    parm: {
      isDeleted: 0,
      status: 6
    },
  },
  { 
    label: '类型',
    model: 'integralType',
    placeholder: '请选择',
    type: 'select',
    selectData: [
      {
        label: '增加',
        value: '0'
      },
      {
        label: '减少',
        value: '1'
      }
    ]
  }
]
export default { tableColumn, paginationParams, orderSelect }

